package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.dto.BrandDTO;
import com.leyou.item.entity.Brand;

import java.util.List;

@SuppressWarnings("ALL")
/**
 * @Description :
 * @author     :LD
 */
public interface BrandService extends IService<Brand> {
    List<Brand> findBrandByCategoryId(Long cid);

    PageDTO findBrandBypage(Integer page, Integer rows, String key);

    void saveBrand(BrandDTO brandDTO);

    void updateBrand(BrandDTO brandDTO);

    void deleteBrandById(Long id);

    void saveImgName(String imgName);
}
